{% include 'basic_app/search_ajax.html' %}
<table class="table table-striped table-bordered table-hover">
                            <thead>
                            <tr>
                                {#                    <th>+</th>#}
                                <th>名称</th>
                                <th>SQLTEXT</th>
                                 <th>备注</th>
                                <th>创建时间</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody id="tabbody">
{% for i in current_page %}
    <tr>
        {#                        <td><input type="checkbox"/></td>#}
        <td style="display:none">{{ i.id }}</td>
        <td>{{ i.name }}</td>
        <td>{{ i.sqltext }}</td>
        <td>{{ i.remark | default_if_none:""}}</td>
        <td>{{ i.crtime }}</td>
        <td>
            <a style="cursor:pointer"
               onclick="if(confirm('确认删除吗？')==false)return false; else oratk_query_savesql_delete({{ i.id }})">删除</a>
            </td>
    </tr>
{% endfor %}
                            </tbody>
                        </table>
{# 以下是分页  #}
{% include 'basic_app/paginator_common_ajax.html' %}
{#  以上是分页 #}